Ext.define('HIT.store.ReportUserDefined', {
    extend: 'Ext.data.TreeStore',
    
    constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            storeId: 'userreporttree', 
            autoLoad: false, 
            proxy: {         
                type: 'ajax',
                url: 'getUserDefinedList',
                reader: {
                    type: 'json',
                    root: ''
                }
            },
        
            root: {     
                "text": Share.T('模板列表'), 
                "leaf":false,
                "iconCls" : "tj-tree-file",
                "expanded": true
            }     
        }, cfg)]);
    }
});